<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
	<title>jquery-pop demo</title>
	<link rel="stylesheet" href="dist/css/jquery-pop.css">
</head>
<body>
	<script src="public/jquery-1.11.3.js"></script>
	<script src="dist/js/jquery-pop.js"></script>
	<script>
		function alert() {
			$.pop({
				type: 'alert', // 默认值：alert 可选 alert 或 confirm
				title: '提示信息', // 默认为：提示信息
				content: '这是提示信息',
				callback: function () {
					// 这里写点击回调
					confirm();
				}
			});
		}

		function confirm() {
			$.pop({
				type: 'confirm',
				title: '提示信息',
				content: '这是提示信息',
				callback_1: function () {
					// 这里写取消回调
				},
				callback_2: function () {
					// 这里写确认回调
				}
			});
		}

		alert();
	</script>
</body>
</html>